package com.lv.common.utils;


import android.content.Context;
import android.os.Environment;

import java.io.File;

/**
 * 维护的一些常量
 */
public class Constants {
    /**
     * 墩墨心上 座机
     **/
    public static final String DMXS_TEL = "023-68188505";
    public static final String DMXS_TEL_BOSS = "18382383335";
    public static final int pageSize = 24;

    /**
     * 扫一扫
     */
    public static final int RESPOND_CAPTURE = 43;
    /**
     * SharePrefrence  是否打开过App
     **/
    public static final String ISOPEND = "is_open";
    public static final String FLAVOR_LOCAL = "local";
    public static final String KEY_CPYID = "key_cpyid";
    public static final String KEY_SWITCH_T = "key_switch_t";
    public static final String KEY_MAP_POINT = "key_map_point";
    public static final String NEWYEAR = "new_year";//0 普通 1 新年主题
    public static final String AD_STATISTICS = "ad_statistics";//广告统计
    public static final String KEY_DEFAULT_PIC_SYY = "https://suyiyong.oss-cn-hangzhou.aliyuncs.com/wx/lhy/10241683603328211.jpg";//速易甬logo图片

    /**
     * SharePrefrence  保存当前定位地址省的key
     **/
    public static final String ADDRESS_PROVINCE_KEY = "address_province_key";
    /**
     * SharePrefrence  保存当前定位地址市的key
     **/
    public static final String ADDRESS_CITY_KEY = "address_city_key";
    /**
     * SharePrefrence  保存当前定位地址区的key
     **/
    public static final String ADDRESS_AREA_KEY = "address_area_key";
    /**
     * SharePrefrence  保存当前定位地址街道的key
     **/
    public static final String ADDRESS_TOWN_KEY = "address_town_key";


    public static final String FLAVOR_INTERNATIONAL = "international";
    /**
     * SharePrefrence  是否打同意过用户协和隐私政策 弹窗
     **/
    public static final String ISFRISTLOAD = "is_frist_load";
    /**
     * 用户显示位置的标记 省份
     */
    public static final String SP_KEY_ADDRESS_PROVINCE_FORSHORT = "sp_key_address_province_forshort";
    public static final String SP_KEY_ADDRESS_PROVINCE = "sp_key_address_province";
    /**
     * 用户显示位置的标记 市
     */
    public static final String SP_KEY_ADDRESS_CITY = "sp_key_address_city";
    /**
     * 用户显示位置的标记 区
     */
    public static final String SP_KEY_ADDRESS_AREA = "sp_key_address_area";
    /**
     * 用户显示位置的标记 时间
     */
    public static final String SP_KEY_ADDRESS_TIME = "sp_key_address_time";

    /**
     * 用户显示位置的标记 lat
     */
    public static final String SP_KEY_ADDRESS_LAT = "sp_key_address_lat";
    /**
     * 用户显示位置的标记 lon
     */
    public static final String SP_KEY_ADDRESS_LON = "sp_key_address_lon";

    public static final String SP_KEY_BOOK_ADDRESS_PROVINCE = "sp_key_book_address_province";

    /**
     * 定位时间间隔
     */
    public static final String LOCATION_TIME_KEY = "location_time_key";

    /**
     * 用户上传回执显示位置的标记 省
     */
    public static final String ADDRESS_PROVINCE_RECEIPT_KEY = "address_province_receipt_key";
    /**
     * 用户上传回执显示位置的标记 市
     */
    public static final String ADDRESS_CITY_RECEIPT_KEY = "address_city_receipt_key";
    /**
     * 用户上传回执显示位置的标记 区
     */
    public static final String ADDRESS_AREA_RECEIPT_KEY = "address_area_receipt_key";
    /**
     * 用户上传回执显示位置的标记 街道
     */
    public static final String ADDRESS_TOWN_RECEIPT_KEY = "address_town_receipt_key";

    /**
     * SharePrefrence  保存定位径度的key
     **/
    public static final String LOCATION_LAT_KEY = "location_lat_key";
    /**
     * SharePrefrence  保存定位纬度的key
     **/
    public static final String LOCATION_LNG_KEY = "location_lng_key";

    //地址选择器数据
    public static final String ADDRESS_NET = "https://www.suyiyong.cn/address.json";
    public static final String ADDRESS_NET_NEWRECEIPT = "https://www.suyiyong.cn/newreceiptAddress.json";
    //    public static final String ADDRESS_NET_FACTORY_BORDER = "https://www.suyiyong.cn/findkuang.json";//工厂展示边框
    public static final String ADDRESS_NET_FACTORY_BORDER = "https://www.suyiyong.cn/newfindkuang.json";//工厂展示边框
    //四级地址的Code 和后台返回不一样就更新
    public static final String ADDRESS_NET_CODE = "address_net_code";

    /**
     * SharePrefrence  用户协和隐私政策 弹窗 对应的版本号
     **/
    public static final String ISFRISTLOADVERSION = "isfrist_load_version";
    /**
     * 货圈视频最长时间
     */
    public static final int VIDEO_DURATION_CIR = 20;

    /**
     * 微信支付的appId
     **/
    public static final String WXAPP_ID = "wx2c7fdc3386fe74af";
    public static final String QQ_ID = "1110523577";
    /**
     * 用于支付宝支付业务的入参 app_id。
     */
    public static final String APPID = "2021002175675928";

    /**
     * 用于支付宝账户登录授权业务的入参 pid。
     */
    public static final String PID = "2088241389582594";

    /**
     * 用于支付宝账户登录授权业务的入参 target_id。
     */
    public static final String TARGET_ID = "2088241389582";
    /**
     * pkcs8 格式的商户私钥。
     * <p>
     * 如下私钥，RSA2_PRIVATE 或者 RSA_PRIVATE 只需要填入一个，如果两个都设置了，本 Demo 将优先
     * 使用 RSA2_PRIVATE。RSA2_PRIVATE 可以保证商户交易在更加安全的环境下进行，建议商户使用
     * RSA2_PRIVATE。
     * <p>
     * 建议使用支付宝提供的公私钥生成工具生成和获取 RSA2_PRIVATE。
     * 工具地址：https://doc.open.alipay.com/docs/doc.htm?treeId=291&articleId=106097&docType=1
     */
    public static final String RSA2_PRIVATE = "MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCZM6AbxSBN7aIQnu9YSlZoXEw4tnqdp15yv//Jk1b7YW+yXwB+XnvSxGTPCVdVmFLZpDyjvcHcWtL2mHyEI0hxifvWM43yuenqjrW3NhzKSZXEar4DUe0sW9/YYZp+GLYc4l6+Hqrkxy8bLiThB76i4pNSuWh6I5vSIpH09pmzKUFWQcCS/2tDlQZ4+1s9QLxUXGr4emuAlR+o8J0qvkKIlPdDg592GnJ6ESR5oXR06anBA7mGfrC2IpMf4yT6nx0MtN/XMiigSAU4S9asCBAGMR+OwmiAwW1PKmsYx+sXLUnbVvxSZBEMnQu80Dfv7reo/Ji1IjFl7BQF+iDjbiCJAgMBAAECggEAAqYG1ZQR2+cIzzrALomSdtlpo+1br1AObPNuy6BVd6EWmkHUM1sUzu8AQygJL3yjqgmR1s7YBCQ503ONa4dkoDnfdbOMd67JIXn4IEO6ObEN+shRoqMO855e/1GopxdsRpGPS8Ah+jSLVu/0SUOmAxDhtSNpb/sfnYFlfpOo0pUUGT36ogXN9EsBVdSnGLftaFpC3HF+sQJvNWt8OBc2yLFkoAJRG/H5GOQDnbOgRRBRA5IjocjcFSE9XYGllLFixdn9jenHt2izcKIg5iaRCB8RLsOhjysMk75hYBsZvVaPUC5AirPrbS1OeJtFnTGto5cOh1+bnbT8EXab1K2hBQKBgQDhlivxo7inN7TmcOtIKcS7/Cra48ZtFHTPivRcs+oDcUYi6LVG5YfJUhyceFejzPH0afl17N03lAOgBo42bsmmpx/v+2xo9WLD3sAtz2xoFJHf8d5zqFcFZO4DEYr8SwsLbvCSO7PzSPsaShZljz7VhSUU6UU00kfR3yjTQoSq5wKBgQCt2y53CkqctZJ7k+2FUoTI7H2oxquacGQMXYvPlemDkxZ/FMZpOco8DbhQfGAwwSQz5ZRF4Hez4eDtgfF+n/Noj2+QTc0QEAa61bBediXlPxmk4EPpXgo1k0FZrwKsRPLflWUfFXQ16zvk0I18aW7ZCpq1LpJtBzETR21eDthbDwKBgCnxOuBlmVp10AucaRJ0uaBeBTXHbcgwKnvAESj/Rn43XFv3OmUhHfr/alRpR5or67yOy5PyYzsHKRlivqQ+Ov3iStzauVBWd3OFgePCkhxT3r9tf/evD+bv2hT1+QpphXctvErkENQl+JHtvnZJiNw4MinOKVDl2/aYcEW/M113AoGAe8LEf+8ukAHdZeU3Nyo35kQba9MJg6YwQnExPrPMCGLjp9FlMLD32uo1Y+42F17WY68xbtDMxZutH8XZ4LcCclNxKruHl8Cg2c2WgJgAgAH8Qld3YKAWCm9qHOqtr25hqnHSC1+dW2i6OTeREJiJVS3sVb/ycnSlJcE6BLPyplcCgYAnqngvkQp90GvkMHoClUIT6vN2qglgmDfVdLIhx1ba/SwPvKatyJnseS+xCfxjX/+0t9te0lCI73/tJHqRi7eMj+SK+IYWejAAWrIn1Yh8ciCg0gbyA4FenlGPuie8F8RRoCqSWRqwFpeNB/JNudnLiD8DH7CwU1ARB2lXxCie2Q==";
    public static final String RSA_PRIVATE = "";

    public static final String APP_LOCAL_DIR = File.separator + "hfr_work_temp";

    public static final String PIC_FILE = Environment.getExternalStorageDirectory().getAbsolutePath() + APP_LOCAL_DIR;


    /**
     * SharePrefrence 记录本地腾讯云token的Key
     */
    public static final String KEY_CHAT_TOKEN = "key_chat_token";

    /**
     * 是否显示设计人员要看的图片蒙层
     **/
    public static final boolean isShowPicAlpha = false;

    /**
     * 消息ID
     */
    public static final String ID_TZ_OLD = "syy0000001";//通知消息
    public static final String ID_HD_OLD = "syy0000002"; //互动消息
    public static final String ID_FW_OLD = "syy0000003"; //访问消息
    public static final String ID_TJ = "syy0000004"; //推荐消息
    public static final String ID_TZ = "syy0000006"; //重要通知
    public static final String ID_JY = "syy0000007"; //交易消息
    public static final String ID_FW = "syy0000008"; //访问消息
    public static final String ID_HD = "syy0000009"; //互动消息

    //MARK: 业务员
    // 风险下线
    public static final String SYY_YWY_FXXX = "syy0000060";
    // 审核通知
    public static final String SYY_YWY_SHTZ = "syy0000061";
    // 过期通知
    public static final String SYY_YWY_GQTZ = "syy0000062";
    // 开户申请
    public static final String SYY_YWY_KHSQ = "syy0000063";
    // 找货大全
    public static final String SYY_YWY_ZHDQ = "syy0000064";
    // 商机信息
    public static final String SYY_YWY_SJXX = "syy0000065";
    // 审批
    public static final String SYY_YWY_SP = "syy0000066";
    // 人员变动
    public static final String SYY_YWY_RYBD = "syy0000067";
    // 报物流审批 抄送
    public static final String SYY_YWY_BWLCS = "syy0000068";
    // 生日提醒
    public static final String SYY_YWY_BIRTHDAY = "syy0000069";
    // 我要找货
    public static final String SYY_YWY_FIND_GOODS = "syy0000070";
    //指定商家
    public static final String SYY_YWY_ZDSJ = "syy0000071";
    //转入审批
    public static final String SYY_YWY_ZRSP = "syy0000072";
    //退款审批
    public static final String SYY_YWY_REFUND = "syy0000073";
    //充值返现
    public static final String SYY_YWY_CZFX = "syy0000074";

    public static final String KEY_SHARE_HEADER_SYY = "https://www.suyiyong.cn:8888/";

    public static final String ALIHEADER = "https://suyiyong.oss-cn-hangzhou.aliyuncs.com/";//阿里直传图片的头
    //小程序绑定的视频样例
    public static final String MINITEMPLATE = "https://suyiyong.oss-cn-hangzhou.aliyuncs.com/iOS/projectPic/addWXMiniIntroduce.mp4";
    public static final String FRIST_PIC = "?x-oss-process=video/snapshot,t_0,f_jpg,w_0,h_0,m_fast,ar_auto";
    public static final String FRIST_PIC_NO = "x-oss-process=video/snapshot,t_0,f_jpg,w_0,h_0,m_fast,ar_auto";

    public static String getPicPath(Context mContext) {
        return MyUtils.getSDPath(mContext) + File.separator + "pic_ssy";
    }

    /**
     * 121 返现审批
     */
    public static final String MESSAGE_TAG_121 = "121";

    /**
     * 1000 货圈风险下线
     */
    public static final String MESSAGE_TAG_1000 = "1000";

    /**
     * 1046 商家余额返现-退款消息 列表1046
     */
    public static final String MESSAGE_TAG_1046 = "1046";

    public static final String SYY_DEFAULT_GRAY = "https://suyiyong.oss-cn-hangzhou.aliyuncs.com/iOS/projectPic/syyDefaultGray.png";
    public static final String GOLD_TAG = "https://suyiyong.oss-cn-hangzhou.aliyuncs.com/iOS/projectPic/hfr/icon_hfr_gold_tag.png";
    public static final String GOLD_TAG_SMALL = "https://suyiyong.oss-cn-hangzhou.aliyuncs.com/1231/hengfuran/gold.png";
    public static final String FACTORY_TAG = "https://suyiyong.oss-cn-hangzhou.aliyuncs.com/iOS/projectPic/hfr/icon_hfr_factory_tag.png";
    public static final String FACTORY_TAG_F = "https://suyiyong.oss-cn-hangzhou.aliyuncs.com/iOS/projectPic/hfr/storeListFac.png";
    public static final String BRAND_TAG = "https://suyiyong.oss-cn-hangzhou.aliyuncs.com/iOS/projectPic/hfr/icon_hfr_brand_tag.png";
    public static final String BRAND_TAG_F = "https://suyiyong.oss-cn-hangzhou.aliyuncs.com/iOS/projectPic/hfr/storeListBrand.png";
    public static final String EMPTY_URL = "https://suyiyong.oss-cn-hangzhou.aliyuncs.com/iOS/projectPic/hfr/listEmpty.png";
    public static final String GOODS_FOCUS_URL = "https://suyiyong.oss-cn-hangzhou.aliyuncs.com/iOS/projectPic/hfr/icon_product_focus.png";
    public static final String GOODS_UNFOCUS_URL = "https://suyiyong.oss-cn-hangzhou.aliyuncs.com/iOS/projectPic/hfr/icon_product_focus_un.png";
    public static final String company_info_bottom_orange_phone = "https://suyiyong.oss-cn-hangzhou.aliyuncs.com/iOS/projectPic/hfr/storeBar/store2_tb2.png";
    public static final String company_info_bottom_theme_phone = "https://suyiyong.oss-cn-hangzhou.aliyuncs.com/iOS/projectPic/hfr/storeBar/store_tb2.png";
    //公司首页面 微信 图片
    public static final String KEY_WEIXIN_PIC = "https://suyiyong.oss-cn-hangzhou.aliyuncs.com/iOS/projectPic/storeHomeFixWX.png";

}
